Intersoft.Client.Framework.Input Namespace > DelegateCommand Class > DelegateCommand Constructor : DelegateCommand Constructor(Action<Object>,Func<Object,Boolean>) |
Public Function New( _ ByVal executeMethod As Action(Of Object), _ ByVal canExecuteMethod As Func(Of Object,Boolean) _ )
Dim executeMethod As Action(Of Object) Dim canExecuteMethod As Func(Of Object,Boolean) Dim instance As New DelegateCommand(executeMethod, canExecuteMethod)
public DelegateCommand( Action<object> executeMethod, Func<object,bool> canExecuteMethod )
public: DelegateCommand( Action<Object^>^ executeMethod, Func<Object^,bool>^ canExecuteMethod )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2